<div id="<?= $this->id ?>_massaction">
<table cellspacing="0" cellpadding="0" class="massaction">
<tr>
    <td><a href="#" onclick="return <?= $this->id ?>_massactionJsObject.selectAll()"><?= $this->languages->_('Select All') ?></a>
        <span class="separator">|</span>
        <a href="#" onclick="return <?= $this->id ?>_massactionJsObject.unselectAll()"><?= $this->languages->_('Unselect All') ?></a>
        <span class="separator">|</span>
        <a href="#" onclick="return <?= $this->id ?>_massactionJsObject.selectVisible()"><?= $this->languages->_('Select Visible') ?></a>
        <span class="separator">|</span>
        <a href="#" onclick="return <?= $this->id ?>_massactionJsObject.unselectVisible()"><?= $this->languages->_('Unselect Visible') ?></a>
        <span class="separator">|</span>
        <strong id="<?= $this->id ?>_massaction-count">0</strong> <?= $this->languages->_('items selected') ?>
    </td>
    <td>
        <div class="right">
            <div class="entry-edit">
                <form id="<?= $this->id ?>_massaction-form" method="post">
                    <fieldset>
                        <span class="field-row">
                            <label><?= $this->languages->_('Actions') ?></label>
                            <select id="<?= $this->id ?>_massaction-select" class="required-entry select absolute-advice">
                                <option value=""></option>
                                <? foreach($this->actionItems as $_item): ?>
                                    <option value="<?= $_item->id ?>"><?= $this->languages->_($_item->label) ?></option>
                                <? endforeach; ?>
                            </select>
                        </span>
                        <span class="outer-span" id="<?= $this->id ?>_massaction-form-hiddens"></span>
                        <span class="outer-span" id="<?= $this->id ?>_massaction-form-additional"></span>
                        <span class="field-row">
                       	<button onclick="<?=$this->id ?>_massactionJsObject.apply()" type="button">
							<span><?=$this->languages->_('Submit') ?></span>
						</button>
                        </span>
                    </fieldset>
                </form>
            </div>
        </div>
    </td>
</tr>
</table>
</div>